package Day1

import "github.com/gin-gonic/gin"

func Route(group *gin.RouterGroup) {
	group.GET("/index", Hello)
	group.GET("/user", User)
	group.GET("/chapter1", SetUseInfo)
	group.GET("/arr", Arr)
	group.GET("/structarr", StructArr)
	group.GET("/map", MapTest)
	group.GET("/mapstruct", MapStruct)
	group.GET("/slice", SliceTest)
	group.GET("/paroute/*Id", ParasTest)
	group.GET("/query", QueryTest)
	group.GET("/querydefault", QueryDefault)
	group.GET("/queryarry", QueryArr)
	group.GET("/querymap", QueryMap)
	group.GET("/topost", Topost)
	group.POST("/dopost", Dopost)
	group.GET("/topost2", Topost2)
	group.POST("/postmap", PostMap)
	group.GET("/topost3", Topost3)
	group.POST("/postajax", PostAjax)
	group.GET("/topost4", Topost4)
	group.POST("/getblind", PostBind)
	group.GET("/tosinfile", ToSingeFile)
	group.POST("/getsinfile", GetSinFile)
	group.GET("/tofiles", ToFiles)
	group.POST("/getfiles", GetFiles)
	group.GET("/oneajax", OneAjax)
	group.POST("/getone", GetOneAjax)
	group.GET("/ajaxfiles", ToAjaxFiles)
	group.POST("/getajaxfiles", GetAjaxFiles)
	group.GET("/putjson", OutPutJson)
}
